package client;

import kit.SortTestHelper;
import util.InsertionSortUtil;

public class TestInsertionSort {

	public static void main(String[] args) {
		int[] arrInt = SortTestHelper.generateRandomArray(30, 100, 1000);
		InsertionSortUtil.sort(arrInt, arrInt.length);
		for(int a : arrInt){
			System.out.print(String.format("%d ", a));
		}
		System.out.println();
		
		char[] arrChar = {'A','F','B','C','Z','G'};
		InsertionSortUtil.sort(arrChar, arrChar.length);
		for(char a : arrChar){
			System.out.print(String.format("%s ", a));
		}
		System.out.println();
	}
}
